package com.iot.ic.tcp;

/**
 * @Description:返回值及返回描述
 * @author xiuge
 * @date 20(byte)16年7月11日上午9:27:33
 */
public class CmdCode {

	public final static short UPLOAD = 0x0101;//上传操作
	
	public final static short UPLOAD_RSP=0x0102;//上传应答
	
	public final static short RTC=0x0103;//rtc请求
			
	public final static short RTC_RSP=0x0104;//rtc请求应答
	
	
	
	public final static short SETTING_UPLOAD=0x0201;//请求设置信息
	
	public final static short SETTING_QUERY_RSP=0x0202;//设置信息有无更新应答
	
	public final static short SETTING_QUERY=0x0203;//设置信息上传
	
	public final static short SETTING_RSP=0x0204;//设置信息下发应答
	
	public final static short SETTING_SUCCESS=0x0205;//设置完成反馈
	
	
	
	public final static short UPDATE_QUERY=0x0301;//程序升级请求
	
	public final static short UPDATE_RSP=0x0302;//程序升级应答
	
	public final static short UPDATE_DATA_REQ=0x0303;//升级数据请求
	
	public final static short UPDATE_DATA_RSP=0x0304;//升级数据应答


	public final static short LORA_UPLOAD = 0x0501;//lora 温湿度上传

	public final static short LORA_UPLOAD_RSP = 0x0601;//lora 温湿度上传回复

	public final static short EXCEPTION_UPLOAD = 0x0502;//lora 异常上传

	public final static short EXCEPTION_UPLOAD_RSP = 0x0602;//lora 异常上传回复

	public final static short HEARTBEAT = 0x0305;// lora网络转换器心跳上传

	public final static short HEARTBEAT_RSP = 0x0405;// lora网络转换器心跳上传回复
	
	
	public final static short JCJ_SYNCHRONISED_TIME = 0x05; //JCJ设备同步服务器时间
	
	public final static short JCJ_LOGIN = 0x03;// JCJ设备登陆指令
	
	public final static short JCJ_PARAM = 0x0F;// JCJ查询设备参数指令
	
	public final static short JCJ_PARAM_TIME = 0x10;// JCJ查询设备参数指令
	
	public final static short JCJ_DOWNLOAD_PARAM = 0x11;
	
	public final static short JCJ_RETURN_PARAM = 0x12;// JCJ下载设备参数指令
	
	public final static short JCJ_UPLOAD_PARAM = 0x13;
	
	public final static short JCJ_UPLOAD_DATA = 0x07;// JCJ上传传感器信息
	
	public final static short JCJ_UPLOAD_LOCATION = 0x0B;// JCJ上传传感器信息
	
	
	public final static short JCJ_HEARBEAT = 0x17;// JCJ上传心跳信息
	
	public final static String JCJ_SYNCHRONISED_TIME_STR = "05";// JCJ下载设备参数指令
	
    public final static String JCJ_LOGIN_STR = "03";// JCJ设备登陆指令
	
	public final static String JCJ_PARAM_STR = "0F";// JCJ查询设备参数指令
	
	public final static String JCJ_DOWNLOAD_PARAM_STR = "11";// JCJ下载设备参数指令
	
	public final static String JCJ_UPLOAD_PARAM_STR = "13";// JCJ下载设备参数指令
	
	public final static String JCJ_UPLOAD_DATA_STR = "07";// JCJ上传传感器信息
	
	public final static String JCJ_UPLOAD_LOCATION_STR = "0B";// JCJ上传位置信息
	
	public final static String JCJ_HEARBEAT_STR = "17";// JCJ上传心跳信息
	

	public final static short CLIENTS_REQ = 0x0108;//lora 终端信息查询

	public final static short CLIENTS_RSP = 0x0208;//lora 终端信息查询应答

	public final static short LIMIT_REQ = 0x0106;//lora 上下限查询

	public final static short LIMIT_REQ_RSP = 0x0206;//lora 上下限查询应答

	public final static short LIMIT_SET = 0x0306;//lora 上下限设置

	public final static short LIMIT_SET_RSP = 0x0406;//lora 上下限设置应答

	public final static short STEP_REQ = 0x0104;//lora 上传周期查询

	public final static short STEP_REQ_RSP = 0x0204;//lora 上传周期查询应答

	public final static short STEP_SET = 0x0304;//lora 上传周期设置

	public final static short STEP_SET_RSP = 0x0404;//lora 上传周期设置应答


}
